home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 117 / PC Guia 117.iso / Software / Utils / Software2 / Product11 / Setup.exe / MT-3.16-full-en_US / mt.cfg < prev    next >
Text File  |  2005-04-18  |  21KB  |  503 lines

  1. ## Movable Type configuration file [mt.cfg]                    ##
  2. ##                                                             ##
  3. ## This configuration file holds system-wide configuration     ##
  4. ## settings that apply to *all* of the blogs in your Movable   ##
  5. ## Type installation.                                          ##
  6.  
  7. # Movable Type uses the CGIPath setting to construct links back to
  8. # CGI scripts; for example, the MT tag <$MTCGIPath$> is substituted
  9. # with the value of the CGIPath setting. You will need to change this
  10. # value when you first install MT; instructions for doing so are in
  11. # the Installation Instructions, in INSTALLING THE MOVABLE TYPE
  12. # APPLICATION CODE, Step 3.
  13.  
  14. CGIPath http://WWW.YOUR-SITE.COM/PATH/TO/MT/
  15.  
  16.  
  17. # The filesystem path to the 'db' directory, where your MT database
  18. # files are stored. You will probably need to change this when you
  19. # first install MT; instructions for doing so are in the Installation
  20. # Instructions, in INSTALLING THE MOVABLE TYPE APPLICATION CODE, Step 8.
  21. # Consider using the MySQL configuration, below.
  22.  
  23. DataSource ./db
  24.  
  25. ## The following options are commented out: to uncomment an  ##
  26. ## option, remove the '#' at the beginning of the line.      ##
  27. ## First, however, make sure that you understand the purpose ##
  28. ## of the configuration setting.                             ##
  29. #
  30. # Configuration for MySQL databases. Add the name of your database
  31. # and the username that you have for logging in to that database
  32. # below. The password needs to go in the file mt-db-pass.cgi.
  33. #
  34. # ObjectDriver DBI::mysql
  35. # Database <database-name>
  36. # DBUser <database-username>
  37. # DBHost localhost
  38. #
  39. # ThrottleSeconds is the minimum number of seconds between comments
  40. # from a single IP address. Setting this to 0 will turn off the
  41. # throttling feature, which may make you vulnerable to
  42. # comment-flooding. The default is 20.
  43. #
  44. # ThrottleSeconds 20
  45. #
  46. # MT needs to have an email address, from which it can send notification
  47. # emails. This defaults to your author address, but some spam filters
  48. # will reject emails that are From: and To: the same address. If you
  49. # have another address you can use it here.
  50. #
  51. # EmailAddressMain YOUR.OTHER.ADDRESS@SOMEDOMAIN.COM
  52. #
  53. #
  54. # If you place all of your MT files in a cgi-bin directory, you
  55. # will need to situate the static files (docs, images, styles.css)
  56. # elsewhere, so that the webserver will not try to execute them. The
  57. # TROUBLESHOOTING section of the manual has more information.
  58. #
  59. # StaticWebPath /path/to/static-files/
  60. #
  61. #
  62. # The filesystem path to the 'tmpl' directory, which contains the
  63. # front-end templates used by the Movable Type application. This
  64. # setting defaults to './tmpl', which means that the 'tmpl' directory
  65. # is in the same directory as the 'mt.cgi' file; you probably don't
  66. # need to change this setting.
  67. #
  68. # TemplatePath ./tmpl
  69. #
  70. #
  71. # By default, Movable Type looks for sendmail in three locations:
  72. # /usr/lib/sendmail, /usr/sbin/sendmail, and /usr/ucblib/sendmail.
  73. # If your sendmail is in a different location, you can adjust the
  74. # SendMailPath configuration setting.
  75. #
  76. # SendMailPath /usr/sbin/sendmail
  77. #
  78. #
  79. # If you would rather use SMTP than sendmail, you should set the
  80. # MailTransfer config setting to 'smtp' (as below). You will also
  81. # need to set the address of your SMTP server, and install the
  82. # Mail::Sendmail Perl module. See the TROUBLESHOOTING section of the
  83. # manual for more details. Possible values for MailTransfer are:
  84. # 'smtp', 'sendmail', and 'debug' (which just writes out mail messages
  85. # to STDERR, for debugging purposes). The default is 'sendmail'.
  86. #
  87. # MailTransfer smtp
  88. # SMTPServer smtp.your-site.com
  89. #
  90. #
  91. # By default, when writing to an output file (for example, one of your
  92. # index or archive pages), Movable Type will first write the data to
  93. # a temp file, then rename that temp file. In the case that the process
  94. # writing the data dies unexpectedly, this prevents the pages on your
  95. # site from being erased. If you do not like this behavior (because it
  96. # requires you to set directory permissions too loosely, for example),
  97. # uncomment the following setting.
  98. #
  99. # NoTempFiles 1
  100. #
  101. #
  102. # The WeblogsPingURL setting is the URL used to send the XML-RPC
  103. # weblogs.com ping. You should not need to change this setting unless
  104. # weblogs.com announces that the URL is changing.
  105. #
  106. # WeblogsPingURL http://some.alternate.weblogs.com.server/path/
  107. #
  108. #
  109. # The BlogsPingURL setting is the URL used to send the XML-RPC
  110. # blo.gs ping. You should not need to change this setting unless
  111. # blo.gs announces that the URL is changing.
  112. #
  113. # BlogsPingURL http://some.alternate.blo.gs.server/path/
  114. #
  115. #
  116. # The MTPingURL setting is the URL used to send the XML-RPC ping to
  117. # movabletype.org (if you have a Recently Updated Key). You should not
  118. # need to change this setting.
  119. #
  120. # MTPingURL http://some.alternate.movabletype.org.server/path/
  121. #
  122. #
  123. # When uploading files through Movable Type's upload mechanism, a ceiling
  124. # is put on the size of the files that can be uploaded to prevent
  125. # denial-of-service attacks. By default this setting is 1000000 (1MB).
  126. #
  127. # CGIMaxUpload 500000
  128. #
  129. #
  130. # When creating files and directories, Movable Type uses umask settings to
  131. # control the permissions set on the files. The default settings for file
  132. # creation (HTMLUmask, DBUmask, and UploadUmask) are 0111; for directory
  133. # creation (DirUmask), the default is 0000. You should not change these
  134. # settings unless you are running MT under cgiwrap or suexec, or some other
  135. # scenario where the MT application runs as you; in addition, you should not
  136. # change these settings unless you know what they mean, and what they do.
  137. #
  138. # DBUmask 0022
  139. # HTMLUmask 0022
  140. # UploadUmask 0022
  141. # DirUmask 0022
  142. #
  143. #
  144. # In addition to controlling permissions via umask settings, you can also
  145. # use the HTMLPerms and UploadPerms settings to control the default
  146. # permissions for files created by the system (either as output files or
  147. # uploaded files). The only real use of this is to turn on the executable bit
  148. # of files created by the system--for example, if MT is generating PHP files
  149. # that need to have the executable bit turned on, you could set HTMLPerms
  150. # to 0777. The default is 0666. You should not change these settings unless
  151. # you know what they mean, and what they do.
  152. #
  153. # HTMLPerms 0777
  154. # UploadPerms 0777
  155. #
  156. #
  157. # When processing uploaded files, if Movable Type notices that the file you
  158. # uploaded already exists, it will allow you to overwrite the original file,
  159. # by first asking for your confirmation. To do this, MT needs to write the
  160. # uploaded data to a temporary file. That temporary file is stored in the
  161. # directory specified by the TempDir setting; the value defaults to /tmp.
  162. #
  163. # TempDir /tmp/
  164. #
  165. #
  166. # When rebuilding individual archives, Movable Type splits up the rebuilding
  167. # process into segments, where each segment consists of rebuilding N entries.
  168. # The default value for N is 40, so by default, MT will rebuild 40 entries at
  169. # a time, then move on to the next 40, etc. You can change that value globally
  170. # here; for example, if you have a very stable server, you might wish to just
  171. # get it all done with in one batch.
  172. #
  173. # EntriesPerRebuild 40
  174. #
  175. #
  176. # The filesystem path to the 'import' directory, which is used when importing
  177. # entries and comments into the system--'import' is the directory where the
  178. # files to be imported are placed. This setting defaults to './import', which
  179. # means that the 'import' directory is in the same directory as the 'mt.cgi'
  180. # file; you probably don't need to change this setting.
  181. #
  182. # ImportPath ./import
  183. #
  184. #
  185. # By default Movable Type uses Perl's flock() function to lock your
  186. # databases while reading and writing. On systems using NFS-mounted
  187. # directories, however, Perl's flock() may fail, unless the perl executable
  188. # has been built to use fnctl(2) instead of flock(2); and even then, it is
  189. # not certain that the locking will truly work.
  190. # Thus, if you have problems running Movable Type on systems using NFS, you
  191. # can use this directive to use simpler file locking that will work over NFS.
  192. # Note that this setting only applies if you are using the Berkeley DB
  193. # version of MT.
  194. #
  195. # NOTE: do not adjust this setting unless you know what you are doing!
  196. #
  197. # UseNFSSafeLocking 1
  198. #
  199. #
  200. # On some Windows systems, neither flock() nor link() are available, so
  201. # you can't use the default flock() locking, nor can you use the NFS-safe 
  202. # locking. In such cases, you can turn on the NoLocking option. Note that
  203. # you should ONLY do this if your system supports nothing else--it is a
  204. # last resort, because it increases the likelihood of database corruption.
  205. # However, if you are the only person using the system (for example, if this
  206. # is your personal server), this should not be as much of an issue.
  207. # Note that this setting only applies if you are using the Berkeley DB
  208. # version of MT.
  209. #
  210. # NOTE: do not adjust this setting unless you know what you are doing!
  211. #
  212. # NoLocking 1
  213. #
  214. #
  215.  
  216. DefaultLanguage en_US
  217.  
  218. # By default Movable Type uses the UTF-8 character encoding which
  219. # supports an international range of characters. For some languages,
  220. # though, UTF-8 is not he ideal encoding. Many Japanese users prefer
  221. # Shift_JIS. Use the PublishCharset option to determine the character
  222. # encoding that is sent in the HTTP headers.
  223.  
  224. PublishCharset utf-8
  225. # PublishCharset Shift_JIS
  226.  
  227. # If you change the PublishCharset option, you may also need to resort
  228. # to HTML entities (below) to encode characters that don't fall in your
  229. # character set. 
  230.  
  231. # Normally, Movable Type will trust the character encoding to handle
  232. # all text; but if you prefer to use HTML entities (for example, if
  233. # you change the character encoding to a non-Unicode encoding), you
  234. # should set the value of NoHTMLEntities to 0.  # You might also turn
  235. # off this option if your system does not have the HTML::Entities Perl
  236. # module installed.
  237.  
  238. NoHTMLEntities 1
  239.  
  240. #
  241. # By default, when encoding data for XML Movable Type checks whether your
  242. # data looks like it contains any HTML tags or other unsafe-for-XML data,
  243. # and if so, it encloses your data in CDATA tags. Some news aggregators
  244. # have trouble with combinations of CDATA with other data, though, so if
  245. # this is causing a problem for you, you can use NoCDATA to encode any
  246. # special characters into entities.
  247. #
  248. # NoCDATA 1
  249. #
  250. #
  251. # When sending pings--either TrackBack pings or update pings--Movable Type
  252. # sets a timeout on the ping, so that it doesn't take too long and appear to
  253. # freeze up the system. You can override the default setting of 15 seconds
  254. # by setting a different value with the PingTimeout directive. The value
  255. # is assumed to be in seconds.
  256. #
  257. # PingTimeout 20
  258. #
  259. #
  260. # By default, outgoing Trackback and update pings are sent to the internet
  261. # using the default network interface card (NIC) on the server running
  262. # Movable Type. In some rare cases, it may be necessary or desirable to have
  263. # the outbound ping traffic sent over a different network interface card or
  264. # network connection. In these situations, enter the IP address of the
  265. # network interface card that should be used to send the outgoing ping
  266. # notifications.
  267. #
  268. # You may specifiy only the IP address (xxx.xxx.xxx.xxx), or and IP address
  269. # and port number (xxx.xxx.xxx.xxx:#). If no port number is specified, the
  270. # outgoing ping will be sent from the specified IP address using the next
  271. # available port number. If a port is specified, the outgoing ping will be
  272. # sent from the specified IP address AND port number. This is useful when you
  273. # need a consistent source IP:port address for firewall filtering of
  274. # outbound connections.
  275. #
  276. # Note: Don't specify a port unless it's absolutely necessary. If the
  277. # port specified is already in use, the outgoing ping will fail without
  278. # error.
  279. # PingInterface 192.168.10.5
  280. # PingInterface 192.168.10.5:8080
  281. #
  282. #
  283. # In some cases, a proxy server must be used to gain access to the internet
  284. # if the computer Movable Type is running on is behind a firewall or on an
  285. # internal private network. By setting PingProxy to the full URL
  286. # address of your proxy server, Movable Type will route all Trackback and
  287. # update pings through the proxy server specified.
  288. #
  289. # PingProxy http://192.168.10.5:3128
  290. #
  291. #
  292. # If PingProxy above is set, Movable Type will route Trackback and update
  293. # pings through the specified proxy EXCEPT for pings destined for the domains
  294. # listed in PingNoProxy. The default value is "localhost, 127.0.0.1"
  295. #
  296. # PingNoProxy internal.lan, example.tld
  297. #
  298. #
  299. # Specifies the image toolkit used to create thumbnails from uploaded images.
  300. # By default, the ImageMagick library and Image::Magick Perl module are used;
  301. # if your system does not have these, you can use the NetPBM tools instead
  302. # (assuming that your system has these tools installed). Possible values for
  303. # this setting are "ImageMagick" or "NetPBM".
  304. #
  305. # ImageDriver NetPBM
  306. #
  307. #
  308. # By default, Movable Type looks for the NetPBM tools in three locations:
  309. # /usr/local/netpbm/bin, /usr/local/bin, and /usr/bin. If your
  310. # NetPBM tools are installed in a different location, you can adjust the
  311. # NetPBMPath configuration setting. Note that this path should be the path
  312. # to the directory containing the NetPBM binaries; for example, if your
  313. # pnmscale binary is at /home/foo/netpbm/bin/pnmscale, you should
  314. # set the value of NetPBMPath to /home/foo/netpbm/bin.
  315. #
  316. # NetPBMPath /home/foo/netpbm/bin
  317. #
  318. #
  319. # By default, the script that Movable Type uses for comments is called
  320. # mt-comments.cgi, the TrackBack script is called mt-tb.cgi, the
  321. # search engine script is called mt-search.cgi, the XML-RPC server
  322. # script is called mt-xmlrpc.cgi, and the dynamic blog view script is
  323. # called F<mt-view.cgi>. In
  324. # some situations--for example, if you are running MT under mod_perl, or if
  325. # your server requires that your Perl scripts have the extension .pl--you
  326. # may need different names for these scripts. You can set the names that will
  327. # be used throughout the default templates and Movable Type code by changing
  328. # these values.
  329. #
  330. # AdminScript mt.pl
  331. # CommentScript mt-comments.pl
  332. # TrackbackScript mt-tb.pl
  333. # SearchScript mt-search.pl
  334. # XMLRPCScript mt-xmlrpc.pl
  335. # ViewScript mt-view.pl
  336. #
  337. #
  338. #
  339. # "Safe mode" enables certain warnings about security and other issues,
  340. # and turns off some small features and capabilities (for example, linking
  341. # templates to files with .cgi and other extensions). Safe mode is on by
  342. # default; you can turn it off by setting SafeMode to 0.
  343. #
  344. # SafeMode 0
  345. #
  346. #
  347. # By default, Movable Type cleans up ("sanitizes") any data submitted by
  348. # visitors to your site. This is done to remove any code (HTML or otherwise)
  349. # that could compromise the security of your site. The sanitization code works
  350. # by only allowing certain HTML tags--any other tags, and all processing
  351. # instructions (PHP, for example) are stripped. The GlobalSanitizeSpec
  352. # setting, then, specifies the tags and attributes that are allowed. The
  353. # default setting is "a href,b,br/,p,strong,em,ul,li,blockquote".
  354. #
  355. # GlobalSanitizeSpec br/,p
  356. #
  357. #
  358. # By default, for each TrackBack item in your Movable Type system--either
  359. # entry or category TrackBack items--an individual RSS feed will be
  360. # automatically created and managed, listing the TrackBack pings for that
  361. # item. These pings are stored in your Local Archive Path. If you want to
  362. # turn off this feature, you can set GenerateTrackBackRSS to 0.
  363. # The default setting is 1, to generate RSS files for each TrackBack item.
  364. #
  365. # GenerateTrackBackRSS 0
  366.  
  367.  
  368. ##
  369. ## Search configuration
  370. ##
  371.  
  372. # The filesystem path to the 'search_templates' directory, which is where
  373. # your search templates should be located. This setting defaults to
  374. # './search_templates', which means that the 'search_templates' directory
  375. # is in the same directory as the 'mt.cgi' file; you probably don't need
  376. # to change this setting, unless you have moved your 'search_templates'
  377. # directory.
  378. #
  379. # SearchTemplatePath ./search_templates/
  380. #
  381. #
  382. # The filename of the default search template, located inside of your
  383. # 'search_templates' directory (see the SearchTemplatePath directive). If you
  384. # define and use alternate templates (see below), you don't need to use
  385. # the default template. The default value is 'default.tmpl'.
  386. #
  387. # DefaultTemplate default.tmpl
  388. #
  389. #
  390. # If you have multiple blogs, or if you provide several different versions
  391. # of your site, you may wish to use alternate templates to provide different
  392. # versions of your search results, as well. See "Alternate Templates" in
  393. # the manual for more details. You can define as many alternate templates
  394. # as you want.
  395.  
  396. AltTemplate comments comments.tmpl
  397. # AltTemplate work work.tmpl
  398. # AltTemplate play play.tmpl
  399. #
  400. #
  401. # To restrict the blogs included in a search on your site, you can use the
  402. # IncludeBlogs and ExcludeBlogs settings. IncludeBlogs lists the blogs that
  403. # will be included in the search, and ExcludeBlogs lists blogs that will be
  404. # excluded from the search. Do not try to use both--IncludeBlogs will
  405. # override ExcludeBlogs. The default is to search all blogs. Separate blog
  406. # IDs with commas.
  407. #
  408. # ExcludeBlogs 1,3,4
  409. # IncludeBlogs 2
  410. #
  411. #
  412. # The following settings specify the defaults for searches on your site;
  413. # they can be overridden either through hidden form inputs, or in form inputs
  414. # set by your users. You should probably leave these settings at the defaults
  415. # and allow your users to override them. RegexSearch is a regular-expression
  416. # search, and CaseSearch is a case-sensitive search. The default value for
  417. # each of these settings is 0.
  418. #
  419. # RegexSearch 1
  420. # CaseSearch 1
  421. #
  422. #
  423. # The default number of days to search on a regular search (SearchCutoff)
  424. # or on a new comment search (CommentSearchCutoff). The default for
  425. # SearchCutoff is to search from the beginning of your blog (all of your
  426. # entries), and the default for CommentSearchCutoff is the last month of
  427. # comments.
  428. #
  429. # SearchCutoff 7
  430. # CommentSearchCutoff 7
  431. #
  432. #
  433. # The maximum number of results to return in a search. If this is a straight
  434. # search, the number of results is per-blog--if you set MaxResults to 5,
  435. # for example, that would mean a maximum of 5 results for each blog in your
  436. # system. In a new comment search, this is the maximum number of entries
  437. # with new comments.
  438. #
  439. # MaxResults 5
  440. #
  441. #
  442. # The sort order for the search results. Using 'ascend' will list the entries
  443. # in chronological order (oldest entry at the top); using 'descend' will
  444. # list the entries in reverse chronological order (newest entry at the top).
  445. # The default is 'descend'.
  446. #
  447. # ResultDisplay ascend
  448. #
  449. #
  450. # The number of words in the excerpt displayed when you use the
  451. # <$MTEntryExcerpt$> tag inside of your search results. This setting is
  452. # distinct from the "Number of words in excerpt" setting in your blog
  453. # configuration, because this setting is just used for excerpts in your
  454. # search results. The default is 40 words.
  455. #
  456. # ExcerptWords 100
  457. #
  458. #
  459. # By default, a search will search only through the entries in your blog,
  460. # not through the comments. A comment search is slower than an entry search,
  461. # because there is more text to search through. You should probably leave
  462. # this set to 'entries', and let your visitors override that setting if
  463. # they wish to. Possible values are 'entries', 'comments', or 'both'.
  464. #
  465. # SearchElement both
  466. #
  467. #
  468. # By default, the search engine allows most of the above configuration
  469. # directives to be overridden by search templates. This has the side effect
  470. # that users could also override those settings by changing values in the
  471. # query string. In particular, this could be dangerous if you have some
  472. # private weblogs--even if you use IncludeBlogs or ExcludeBlogs to
  473. # allow/deny certain weblogs to be searched, users could override that
  474. # setting to search your private weblog. You can use NoOverride to provide
  475. # a comma-separated list of configuration directives that cannot be
  476. # overriden by either search templates or users. This means that only the
  477. # settings made in mt.cfg will be used.
  478. #
  479. # NoOverride IncludeBlogs,ExcludeBlogs
  480. #
  481. # By default, Movable Type won't try to do rebuilds and other
  482. # time-consuming activies in the background. If you want to improve
  483. # your experience at rebuild time, try setting LaunchBackgroundTasks
  484. # to 1. Note that this will cause problems on some installations and
  485. # should be turned off if you experience crashes.
  486.  
  487. LaunchBackgroundTasks 0
  488.  
  489. #
  490. # The TypeKey protocol has been revised. The latest version is highly
  491. # recommended, however, for users who haven't updated their templates,
  492. # This option can be set to a backward-compatible value.
  493.  
  494. TypeKeyVersion 1.1
  495.  
  496. # The DebugMode option controls whether Movable Type runs in a debugging
  497. # operational state. When DebugMode is 1, Perl warnings are displayed on
  498. # web pages. DebugMode of 0 (the default) suppresses these warnings.
  499.  
  500. DebugMode 0
  501.  
  502.